import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/reset.css'
import './vant'
import api from './api'


Vue.prototype.$api = api;   //将api挂载到vue原型上,就可以使用this进行访问

import echarts from 'echarts'
Vue.prototype.$echarts = echarts;   //将echarts挂载到vue原型上,就可以使用this进行访问

//导入echarts插件
import echarts2 from './plugins/echarts'
Vue.use(echarts2)

Vue.config.productionTip = false
//导入全局过滤器
import './utils/myFilter'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
